package org.asiainfo.system.domain;

import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.asiainfo.common.mybatis.stream.core.domain.BaseEntity;
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.Table;

/**
 * 用户通告阅读标记表(SysAnnouncementSend)实体类
 *
 * @author dotor-ww
 * @since 2024-08-27 19:45:42
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Table("sys_announcement_send")
public class SysAnnouncementSend extends BaseEntity {

    /**
     * 主键ID
     */
    @Id
    @Column(value = "id")
    private Long id;
    /**
     * 通告ID
     */
    @Column(value = "ant_id")
    private Long antId;
    /**
     * 用户id
     */
    @Column(value = "user_id")
    private Long userId;
    /**
     * 阅读状态（0未读，1已读）
     */
    @Column(value = "read_flag")
    private String readFlag;
    /**
     * 阅读时间
     */
    @Column(value = "read_time")
    private Date readTime;
    /**
     * 标星状态( 1为标星 空/0没有标星)
     */
    @Column(value = "star_flag")
    private String starFlag;
}

